x86/S3: Don't bother saving %cr3, %ss or flags
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 13 Dec 2019 17:45:57 +0000 (17:45 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 18 Dec 2019 11:42:54 +0000 (11:42 +0000)
commitb3a32e206305bbfc057f27967d8fc72a325a9e2a
treef0f391257b77d8ef54115f537e73c244c377f132
parent62874a4df3b9653e862fe36ad2779b60234ea7b9
x86/S3: Don't bother saving %cr3, %ss or flags

The trampoline has already set up the idle pagetables (which are the correct
ones to use), and sanitised the flags state.

For %ss, __HYPERVISOR_DS64 is the correct descriptor to restore.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/acpi/wakeup_prot.S